<!--#layout("/common/space.page.html",{"jsBase":"/js/","title":"修改密码"}){  -->
<blockquote class="layui-elem-quote">修改密码</blockquote>
<form class="layui-form" action="/space/member/modifyPwd.do" lay-filter="memberModifyPwdForm" method="post">
	<div class="layui-form-item">
		<label class="layui-form-label">原始密码</label>
		<div class="layui-input-inline">
			<input type="password" name="oldpassword" value="" placeholder="请输入原始密码" lay-verify="required" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">新密码</label>
		<div class="layui-input-inline">
			<input type="password" name="newpassword" value="" placeholder="请输入密码" lay-verify="required" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">确认密码</label>
		<div class="layui-input-inline">
			<input type="password" name="repassword" value="" placeholder="请再次输入密码" lay-verify="required" autocomplete="off" class="layui-input">
		</div>
	</div> 
	<div class="layui-form-item">
		<label class="layui-form-label"></label>
		<div class="layui-input-inline">
			<button type="submit" class="layui-btn" lay-submit="" lay-filter="">立即提交</button>
		</div>
	</div>
</form>
<script>
	layui.use(['form'],function() {
		var form = layui.form;
		form.on('submit(memberModifyPwdForm)', function(){
			var f = this;
			Lib.submitForm("${ctxPath}/space/member/modifyPwd.json",$(f),{},function(data) {
				console.info(data);
				Common.info("更新成功");
				f.reset();
			})
			return false;
	    });
	});
</script>
<!--#}  -->
